#include<iostream>
#include"c14_T1_winec.h"

int main(void)
{
	static const int BUFF = 50;
	using std::cin;
	using std::cout;
	using std::endl;

	cout << "Enter name of wine: ";
	char lab[BUFF];
	cin.getline(lab, sizeof(lab)/sizeof(lab[0]));
	cout << "Enter the number of years: ";
	int years;
	cin >> years;

	Wine holding(lab, years);
	holding.SetBottles();
	holding.Show();

	const int YEARS = 3;
	int y[YEARS] = { 1993, 1995, 1998 };
	int b[YEARS] = { 48, 60, 72 };
	Wine more("Gushing Grape Red", YEARS, y, b);
	more.Show();

	cout << "Bye\n";
	system("pause");
	return 0;
}

